package zhu.areas.team.data;

import zhu.areas.dic.data.TeamRole;


/**
 * @hibernate.class table="T_TeamMembers" dynamic-insert="true" dynamic-update="true"
 * @author Administrator
 * 
 */
public class TeamMembers implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int teamMID;
	private int teamID;
	private int userID;
	private TeamRole teamRole;
	private String teamName;
	
	public TeamMembers() {

	}

	public TeamMembers(int teamMID) {
		this.teamMID = teamMID;
	}

	/**
	 * @hibernate.id column="TeamMID" generator-class="increment"   unsaved-value="null"
	 * @return
	 */
	public int getTeamMID() {
		return teamMID;
	}
	public void setTeamMID(int teamMID) {
		this.teamMID = teamMID;
	}
	/**
	 * @hibernate.property  column="TeamID"    not-null="true"    
	 * @return
	 */	
	public int getTeamID() {
		return teamID;
	}

	public void setTeamID(int teamID) {
		this.teamID = teamID;
	}
	
	/**
	 * @hibernate.property column="TeamName"    not-null="true"      
	 * @return
	 */	

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	/**
	 * @hibernate.property column="UserID"     not-null="true"
	 * @return
	 */	

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}
	
	/**
	 * @hibernate.many-to-one class="zhu.areas.dic.data.TeamRole"
	 *   column="TeamRole" not-null="true" lazy="false"
	 */

	public TeamRole getTeamRole() {
		return teamRole;
	}

	public void setTeamRole(TeamRole teamRole) {
		this.teamRole = teamRole;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	


}
